<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>轿运联盟</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<meta name="format-detection" content="telephone=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="author" content="yeching yeching.info" />
<link rel="stylesheet" href="css/style.css" />
<script type="text/javascript" src="js/mui.min.js" ></script>
<style type="text/css">

</style>
 </head>
 
<body>
<!-- 文档 -->
<div class="g-doc">
  <div id='allmap' class="allmap"></div>

</div>
<!--fix-menu-->
<div id="g-fix-menu" class="g-fix-menu">
		<a href="index.html">
			<img src="img/home.png" />
			<span>首页</span>
		</a>
		<a href="place.html">
			<img src="img/place.png" />
			<span>位置</span>
		</a>
		<a href="contact.html">
			<img src="img/call.png" />
			<span>一键呼叫</span>
		</a> 	
		<a href="register.html">
			<img src="img/member.png" />
			<span>会员中心</span>
		</a> 			
</div>
</body>
<script type='text/JavaScript' src='http://api.map.baidu.com/api?type=quick&ak=56563710f7448264e407591367dc1d77&v=1.0'></script>
<script type='text/javascript'>
// 百度地图API功能
var map = new BMap.Map('allmap');    // 创建Map实例
    map.addControl(new BMap.ZoomControl()); // 添加缩放控件
    map.addControl(new BMap.ScaleControl()); // 添加比例尺控件
    var point = new BMap.Point(113.281100,23.183082);
    var marker = new BMap.Marker(point);  // 创建标注
    map.addOverlay(marker);              // 将标注添加到地图中
    map.centerAndZoom(point, 15);
    var opts = {
        width : 120,     // 信息窗口宽度
        height: 120,     // 信息窗口高度
        title : '广州三合物流有限公司' , // 信息窗口标题
        enableAutoPan : true //自动平移
    }
    var infoWindow = new BMap.InfoWindow('中国交轿运车物流中心广州花都', opts);  // 创建信息窗口对象
    marker.addEventListener('click', function(){
        map.openInfoWindow(infoWindow,point); //开启信息窗口
    });
</script>
</html>
